<html>
<head><meta charset="utf-8"><title>Help for #80012 · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20for.20.2380012.html">Help for #80012</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="220922882"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20for%20%2380012/near/220922882" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> sasurau4 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20for.20.2380012.html#220922882">(Dec 25 2020 at 14:04)</a>:</h4>
<p>I want to find the span of previously defined ident in name resolution. How to that? <br>
In detail, see <a href="https://github.com/rust-lang/rust/pull/80012/files#r548876218">https://github.com/rust-lang/rust/pull/80012/files#r548876218</a></p>



<a name="220924011"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20for%20%2380012/near/220924011" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20for.20.2380012.html#220924011">(Dec 25 2020 at 14:39)</a>:</h4>
<p>I found that NameBindings have a span, does that help? <a href="https://doc.rust-lang.org/nightly/nightly-rustc/rustc_resolve/struct.NameBinding.html">https://doc.rust-lang.org/nightly/nightly-rustc/rustc_resolve/struct.NameBinding.html</a></p>



<a name="220958852"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Help%20for%20%2380012/near/220958852" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> sasurau4 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Help.20for.20.2380012.html#220958852">(Dec 26 2020 at 10:30)</a>:</h4>
<p>Thanks!  I'll try to find <code>let</code> NameBinding defined before using for const.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>